package com.jzo2o.customer.service;

import com.jzo2o.customer.model.domain.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;
import com.jzo2o.customer.model.dto.response.BankAccountResDTO;

/**
 * <p>
 * 银行账户表 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-02
 */
public interface IAccountService extends IService<Account> {

    void addOrUpdateBankAccount(BankAccountUpsertReqDTO dto,Integer type);

    BankAccountResDTO getByIdAccount(Long id);
}
